package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;

import com.bwie.poi.Excel;
import lombok.Data;

/**
 * 
 * @TableName t_shop
 */
@TableName(value ="t_shop")
@Data
public class Shop {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Excel(name = "商品id")
    private Integer id;

    /**
     * 
     */
    @TableField(value = "shop_name")
    @Excel(name = "商品名称")
    private String shopName;

    /**
     * 
     */
    @TableField(value = "shop_price")
    @Excel(name = "商品价格")
    private BigDecimal shopPrice;

    /**
     * 
     */
    @TableField(value = "shop_status")
    @Excel(name = "商品状态",readConverterExp = "0=下架,1=上架")
    private Integer shopStatus;

    /**
     * 
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 
     */
    @TableField(value = "shop_type")
    private Integer shopType;

    /**
     * 
     */
    @TableField(value = "create_time")
    @Excel(name = "商品创建时间",dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 
     */
    @TableField(value = "content")
    @Excel(name = "商品原因")
    private String content;
    @TableField(value = "shop_image")
    private String shopImage;
    @TableField(exist = false)
    private String typeName;
    @TableField(exist = false)
    private String statusName;
    @TableField(exist = false)
    private String userName;
}